﻿
using NicoView.ViewModel;
using NicoView.Model.Service.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoView.ViewModel.Message
{
    public sealed class NicoViewCommentShowCommentMessage : NicoViewViewModelEventMessageBase
    {
        public NicoViewCommentShowCommentMessage(IEnumerable<NicoViewCommentViewModel> comments, NicoViewApplicationDispatcher applicationDispatcher)
            : base(applicationDispatcher)
        {
            this.comments = new List<NicoViewCommentViewModel>();

            this.comments.AddRange(comments);

        }


        private List<NicoViewCommentViewModel> comments;

        public IEnumerable<NicoViewCommentViewModel> Comments
        {
            get
            {
                return this.comments;
            }
        }
    }
}
